package yunhe.entity;

import java.sql.Date;

/**
 * Created by lzh on 2017/6/13.
 * EmpMsg表对应实体类
 */
public class EmpMsg {
	private String workId;
	private String name;
	private String sex;	
	private Date birthday;	
	private String tel;
	private String email;
	private Dept dept;
	private JobMsg job;
	private int workSta;
	private Date hireDate;
	private Date fireDate;
	
	public EmpMsg() {
	}
	public EmpMsg(String workId, String name, String sex, Date birthday,
			String tel, String email, Dept dept, JobMsg job, int workSta,
			Date hireDate, Date fireDate) {
		this.workId = workId;
		this.name = name;
		this.sex = sex;
		this.birthday = birthday;
		this.tel = tel;
		this.email = email;
		this.dept = dept;
		this.job = job;
		this.workSta = workSta;
		this.hireDate = hireDate;
		this.fireDate = fireDate;
	}

	public String getWorkId() {
		return workId;
	}

	public void setWorkId(String workId) {
		this.workId = workId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Dept getDept() {
		return dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}

	public JobMsg getJob() {
		return job;
	}

	public void setJob(JobMsg job) {
		this.job = job;
	}

	public int getWorkSta() {
		return workSta;
	}

	public void setWorkSta(int workSta) {
		this.workSta = workSta;
	}

	public Date getHireDate() {
		return hireDate;
	}

	public void setHireDate(Date hireDate) {
		this.hireDate = hireDate;
	}

	public Date getFireDate() {
		return fireDate;
	}

	public void setFireDate(Date fireDate) {
		this.fireDate = fireDate;
	}
}
